package com.attendance.www.hr.dao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.attendance.www.hr.beans.ApprovalRecordBean;

public interface ApprovalRecordExtMapper {

	/**
	 * 获取补签结果
	 */
	public List<ApprovalRecordBean> getApprovalRecordById(@Param("retroactiveId")Integer retroactiveId);
   
	/**
	 * 查询某人申请的审批信息
	 * @param requestId
	 * @return
	 */
	public List<ApprovalRecordBean> getApprovalRecordInfoById(@Param("requestId")Integer requestId, @Param("roleIdDBList")List<Integer> roleIdDBList, 
			@Param("nowDate")Date nowDate);
	
	/**
	 * 查HR的驳回信息
	 * @param requestId
	 * @return
	 */
	public List<ApprovalRecordBean> getApprovalRecordInfoByHR(@Param("requestId")Integer requestId);
}